import ccclass = cc._decorator.ccclass;

@ccclass("GameFrameworkModule")
export default abstract class GameFrameworkModule {

    get Priority() {
        return 0;
    }
    get baseName(){
        return "GameFrameworkModule";
    }
    abstract Update(elapseSeconds: number, realElapseSeconds: number): void;

    abstract Shutdown(): void;

}

export function CreateInstance(type): any {
    return new type();
}
